package com.cbtx.tablet.net

import java.io.Serializable

/**
 * author : joker.peng
 * e-mail : joker@fiture.com
 * date   : 2021/7/1 2:52 PM
 * desc   :
 */
class HttpResponse<T> : Serializable {

    var code = 0
    var msg: String? = null
    var logMsg: String? = null
    var data: T? = null

    fun isStatusOK(): Boolean {
        return code == 0
    }
}